home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Ss-Sz
/
Stop~Tabs™.cpt
/
STOP-Tabs™
/
card_3433.txt
< prev
next >
Wrap
Text File
|
1988-07-11
|
10KB
|
506 lines
-- card: 3433 from stack: in
-- bmap block id: 2258
-- flags: 4000
-- background id: 2579
-- name: Stop~Tabs™ XCMD
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=106 top=150 right=170 bottom=240
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Columnize Fields
----- HyperTalk script -----
on mouseUp
StopTabs 2,card field "startcol",card field "colOff", card field "Before",""
put the result into card field "test"
end mouseUp
-- part 2 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=398 top=132 right=146 bottom=458
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: startcol
-- part 3 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=398 top=149 right=163 bottom=457
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: coloff
-- part 4 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=255 top=184 right=202 bottom=478
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: before
-- part 5 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=255 top=239 right=282 bottom=477
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: test
-- part 6 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=107 top=203 right=223 bottom=241
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Extract character
----- HyperTalk script -----
on mouseUp
StopTabs 1,card field "startcol",0,card field "Before",""
put the result into card field "test"
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=106 top=228 right=247 bottom=241
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Extract word
----- HyperTalk script -----
on mouseUp
StopTabs 1,card field "startcol",1,card field "Before",""
put the result into card field "test"
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=58 top=148 right=170 bottom=86
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
show card field "Columnize Fields"
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=58 top=199 right=221 bottom=86
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
show card field "Extract character"
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=58 top=226 right=248 bottom=86
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
show card field "Extract field"
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=106 top=124 right=144 bottom=240
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Columnize
----- HyperTalk script -----
on mouseUp
StopTabs 0,card field "startcol",card field "colOff", card field "Before",""
put the result into card field "test"
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=58 top=121 right=143 bottom=86
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
show card field "Columnize"
end mouseUp
-- part 13 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=106 top=176 right=196 bottom=240
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: StopTabs™
----- HyperTalk script -----
on mouseUp
StopTabs 2,card field "startcol",-1,card field "Before",card field "tabs"
put the result into card field "test"
end mouseUp
-- part 14 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=58 top=173 right=195 bottom=86
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
show card field "Stop~Tabs‚Ñ¢"
end mouseUp
-- part 15 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=398 top=112 right=126 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: tabs
-- part 19 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=255 top=226 right=240 bottom=477
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 4
-- text size: 9
-- style flags: 0
-- line height: 10
-- part name:
-- part 21 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=132 top=36 right=102 bottom=372
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
show card btn "Stop~Tabs‚Ñ¢ by S.Koren"
end mouseUp
-- part 20 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=132 top=37 right=103 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Stop~Tabs™ by S.Koren
----- HyperTalk script -----
on mouseUp
hide card btn "Stop~Tabs‚Ñ¢ by S.Koren"
end mouseUp
-- part 22 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=53 top=146 right=291 bottom=248
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Columnize
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part 23 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=53 top=173 right=291 bottom=253
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Columnize fields
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part 24 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=54 top=197 right=342 bottom=249
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Stop~Tabs™
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part 25 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=54 top=54 right=199 bottom=249
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Extract character
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part 26 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=54 top=54 right=199 bottom=249
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Extract field
----- HyperTalk script -----
on mouseUp
hide me
end mouseUp
-- part contents for background part 5
----- text -----
Stop~Tabs‚Ñ¢ XCMD
-- part contents for card part 2
----- text -----
1
-- part contents for card part 3
----- text -----
3
-- part contents for card part 4
----- text -----
\2 \4 \6 \8
-- part contents for card part 15
----- text -----
\5\10\15\20\
-- part contents for card part 5
----- text -----
\2
-- part contents for card part 19
----- text -----
1234|6789•1234|6789•1234|6789•1234|
-- part contents for card part 22
----- text -----
Syntax:
StopTabs 0,
card field "startcol",
card field "colOff",
card field "Before",
""
• Reformat the 'Before' string separating each word
(delimited by ' ') by <colOff> spaces.
-- part contents for card part 23
----- text -----
Syntax:
StopTabs 2,
card field "startcol",
card field "colOff",
card field "Before",
""
• Reformat the 'Before' string starting at 'startcol' and using 'colOff' columns between fields delimited by '\'.
-- part contents for card part 24
----- text -----
Syntax:
StopTabs 2,
card field "startcol",
-1,
card field "Before",
card field "tabs"
• Reformat 'Before' string starting in column 'startcol' and placing each '\'
delimited field in the corresponding column indicated by the 'tabs' field (must also be '\' delimited.)
-- part contents for card part 25
----- text -----
Syntax:
StopTabs 1,
card field "startcol",
0,
card field "Before",
""
• Return the character in column
'startcol' of the string 'Before'.
-- part contents for card part 26
----- text -----
Syntax:
StopTabs 1,
card field "startcol",
1,
card field "Before",
""
• Return the space delimited word
starting in column 'startcol' of the string 'Before'.